//表示独一无二值
let game ={
  name:'huanledoudizhu',
  [Symbol('danren')]:function(){
    console.log('danren')
  },
  [Symbol('shuangren')]:function(){
    console.log('shuangren')
  }

}
let method = {
  invite:Symbol(),
  refuse:Symbol()
}
game[method.invite] = function(){
  console.log('invite')
},
game[method.refuse] = function(){
  console.log('refuse')
}
console.log(game)
class Person{
  static [Symbol.hasInstance](){
    console.log('你用instanceof函数啦')
  }
 
}
let o = {}
console.log(o instanceof Person)
let arr1 = [1,2,3]
let arr2 = [4,5,6]

  
